////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//
//		File Name		:		CHubState.h
//
//		Author			:		Kevin Jordan
//
//		Purpose			:		A header for all functions and members  the Hub State
//
//		Dates			:		Written( March 2, 2011 ) by Kevin Jordan		LastUpdate( March 2, 2011  ) by Kevin Jordan 
//	
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
#ifndef CCHubState_H_
#define CCHubState_H_
#include "IBaseState.h"
#include "CPlayer.h"


class CHubState : public IBaseState
{


private:
	CHubState();
	~CHubState();
	CHubState(const CHubState& copy);
	CHubState& operator=(const CHubState& assign);

	int m_nSelection;
	int m_nLevelSelected;

	int m_nShopSelection;

	int m_nShopImage[8];

	bool m_bInShop;
	bool PlayerIsInit;

	int PlayerImage;

	int ImageID;
	int CursorID;

	CPlayer* pPlayer;
	bool m_bExitingToMain;



public:

	static CHubState* GetInstance();

	void Enter();
	void Exit();
	bool Input();
	void Update(float fElapsedTime);
	void Render();

	CPlayer* GetPlayer()	{ return pPlayer; }

	int GetLevel()	{return m_nLevelSelected;}





};
#endif 